
<form id="save_form" action="" method="post">
<div class="acan_nav">
	<ul class="anav_nav0 acan_nav_ul">
<!--{loop $data $key $val}-->
		<li id="anav_nav_0_$key" class="<!--{if $key=='0'}-->anav_chk<!--{/if}-->"><a onclick="Anav_show($key,0)">虚拟主机 - $key</a></li>
<!--{/loop}-->
	</ul>
	<div class="aonfig_list0 acan_nav_list">
<!--{loop $data $key $val}-->
	<dl id="anav_0_$key" class="anav_dl -dl <!--{if $key > 0}-->dis_none<!--{/if}-->">
		<dt>虚拟主机文件:</dt><dd>$_GET[file]</dd>
		<dt>监听端口:</dt>
		<dd><input type="text" name="save[$key][listen][val]" value="$val[listen][val]"></dd>
		<dt>绑定域名:</dt>
		<dd><input type="text" name="save[$key][server_name][val]" value="$val[server_name][val]">访问:$val[server_name][url]</dd>
		<dt>网站目录:</dt>
		<dd><input type="text" name="save[$key][root][val]" value="$val[root][val]"></dd>
		<dt>默认访问文件:</dt>
		<dd><input type="text" name="save[$key][index][val]" value="$val[index][val]"></dd>
		<dt>访问日志:</dt>
		<dd>
			<input type="text" name="save[$key][access_log][val]" value="$val[access_log][val]">
			<!--{form 'radio','save['.$key.'][access_log][use]',$form_radio_isorno,'',$val['access_log']['use']}-->
		</dd>
		<dt>伪静态:</dt>
		<dd>
			<input type="text" name="save[$key][rewrite][val]" value="$val[rewrite][val]">
			<!--{form 'radio','save['.$key.'][rewrite][use]',$form_radio_isorno,'',$val['rewrite']['use']}-->
		</dd>
		<dt>目录索引:</dt>
		<dd>
			<!--{form 'radio','save['.$key.'][autoindex][val]',$form_radio_onoff,'',$val['autoindex']['val']}--> | 
			<!--{form 'radio','save['.$key.'][autoindex][use]',$form_radio_isorno,'',$val['autoindex']['use']}-->
		</dd>
		<dt>PHP功能:</dt>
		<dd><!--{form 'radio','save['.$key.'][php][use]',$form_radio_isorno,'',$val['php']['use']}--></dd>
		<dt>SSI功能:</dt>
		<dd><!--{form 'radio','save['.$key.'][ssi][use]',$form_radio_isorno,'',$val['ssi']['use']}--></dd>
	</dl>
<!--{/loop}-->
	</div>
	<dl class="-dl">
		<dt>
			<input type="submit" name="submit" value="保存" />
			<input type="button" onclick="Atab.task_new('$_GET[file]','$this->Aapp-file-edit-utf8?file=$this->nginx_host$_GET[file]',0)" value="文本编辑"/>
			<input type="button" value="返回" onclick="location.href='$this->Amodr-host'">
		</dt>
		<dd>
			新虚拟主机文件名:<input type="text" name="copy[name]" value="">
			<input type="submit" name="copys" value="另存为">
		</dd>
	</dl>
</div><!--acan_nav end-->
</form>
